package cn.sofwin.sb.controller;

import cn.sofwin.sb.entity.User;
import cn.sofwin.sb.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller
public class UserController {

   @Autowired
   private   UserService userService;

    public User findUser(Integer id) {
        return userService.findUser(id);
    }
}
